package com.wx.mall.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.DateTimeException;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 退款订单
 * </p>
 *
 * @author j
 * @since 2020-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ord_return_order")
@ApiModel(value="ReturnOrder对象", description="退款订单")
public class ReturnOrder implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "服务单号")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "订单号")
    private Long orderId;

    @ApiModelProperty(value = "申请时间")
    private Date applyTime;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户账号")
    private String userAccount;

    @ApiModelProperty(value = "联系人")
    private String linkman;

    @ApiModelProperty(value = "联系人手机")
    private String linkmanMobile;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "退款金额")
    private Integer returnMoney;

    @ApiModelProperty(value = "是否退运费")
    private Integer isReturnFreight;

    @ApiModelProperty(value = "申请状态")
    private Integer status;

    @ApiModelProperty(value = "处理时间")
    private Date disposeTime;

    @ApiModelProperty(value = "退货退款原因")
    private Integer returnCause;

    @ApiModelProperty(value = "凭证图片")
    private String evidence;

    @ApiModelProperty(value = "问题描述")
    private String description;

    @ApiModelProperty(value = "处理备注")
    private String remark;

    @ApiModelProperty(value = "管理员id")
    private Integer adminId;

    @ApiModelProperty(value = "软删除id")
    private int deletes;

}
